package com.online_exam.repository;

import com.github.pagehelper.PageInfo;
import com.online_exam.domain.ExamPaperAnswer;
import com.online_exam.viewmodel.student.exampaper.ExamPaperAnswerPageVM;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface ExamAnswerMapper {
    int insert(ExamPaperAnswer examPaperAnswer);

    List<ExamPaperAnswer> page(ExamPaperAnswerPageVM model);

    ExamPaperAnswer select(Integer id);


}

